@import './mixin';
@import './iconfont';

* {
  word-break: break-all;
}
body>div{
  font-size: px2rem(32px);
  @include sc(px2rem(32px),$dark);
}

input[disabled] {
  background: #fff;
  opacity: 1;
}

.clockBody{
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

/*placeholder*/
::-webkit-input-placeholder { /* WebKit browsers */
  color: #b2b2b2;
  font-size:14px;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #b2b2b2;
  font-size:14px;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

img[lazy=loading] {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  -ms-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  max-height: 60px;
  max-width: 60px;
}

// img[lazy=error]{
// 	min-width: px2rem(200px);
//   min-height: px2rem(200px);
// 	background: #cacaca url(../images/nopic.jpg) no-repeat center center;
// 	background-size: cover;
// }

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] {
  -webkit-appearance: none;
}

input, select, textarea, button {
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: none;
}

textarea {
  -webkit-appearance: none;
  resize: none;
}

html, body {
  background-color: #F5F5F5;
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
}

.margin {
  margin: 0 auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pullup-wrapper{
  font-size:14px;
  color: #999;
}
* {
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.greenBtn {
  background: $primary;
  color: #fff;
  font-size: px2rem(30px);
  line-height: px2rem(88px);
  text-align: center;
  width: calc(100% - 30px);
  margin: px2rem(54px) auto;
  border-radius: 4px;
}
.darkBtn {
  font-size: px2rem(26px);
  color: #666;
  border: 1px solid #eee;
  border-radius:px2rem(26px);
  width: px2rem(170px);
  text-align: center;
  padding: px2rem(4px) 0;
  background: #fff;
}

.dangerBtn {
  font-size: px2rem(26px);
  color: $danger;
  border: 1px solid $danger;
  border-radius:px2rem(26px);
  width: px2rem(156px);
  text-align: center;
  padding: px2rem(4px) 0;
  background: #fff;
}
/*----confirm弹框按钮-------*/
.mint-msgbox-btn{
  font-size:14px;
}
.mint-msgbox-confirm{
  color: $primary;
}

/*----confirm弹框按钮 end-------*/

/*----必选项星号-------*/
.mint-cell-text{
  position: relative;
  padding-left:10px;
}
.mint-cell-text>.required-mark{
  position: absolute;
  left:0px;
}
.required-mark{
  color: $danger;
  padding-right:3px;
  font-style: normal;
}

/*-----右侧箭头灰色------*/
.mint-cell-wrapper .icon-jiantouyou{
  font-size:14px;
  color: #999;
}

@media only screen and (min-width:500px){
    .mint-popup{
        max-width: $bodyWidth;
    }
}

